/*
 * JVM_CP_Method.h
 *
 *  Created on: 03.01.2011
 *      Author: Tavin
 */

#include <stdint.h>
#include "JVM_Method.h"
#include "JVM_Class.h"

#ifndef JVM_CP_METHOD_H_
#define JVM_CP_METHOD_H_

/**
 * Constant Pool Method
 */
typedef struct{
	uint8_t type;
	uint16_t classIndex;
	uint16_t descriptorIndex;
	JVM_Method_t * adress;
	// TODO JVM_Class_t * realClass;
	void * realClass;
} __attribute__((__packed__)) JVM_CP_Method_t;



#endif /* JVM_CP_METHOD_H_ */
